package com.dlz.systemshop.utils;


import org.apache.commons.codec.digest.DigestUtils;

public class EncryptionUtil {

    // 对密码和盐值进行 MD5 加密
    public static String encryptPasswordWithSalt(String password, String salt) {
        String combined = password + salt;
        return DigestUtils.md5Hex(combined);
    }
}